<?php
	
	class RequestItem implements iModel {
		
		public $requestItemId;
		public $requestId;
		public $description;
		public $quantity;

		public function __construct() {
			
		}
		
		public function getRequestItemId() {
			 return $this->requestItemId; 
		} 
		
		public function getRequestId() {
			 return $this->requestId; 
		} 
		
		public function getDescription() {
			 return $this->description; 
		} 
		
		public function getQuantity() {
			 return $this->quantity; 
		} 
		
		public function setRequestItemId($requestItemId) {
			 $this->requestItemId = $requestItemId; 
		} 
		
		public function setRequestId($requestId) {
			 $this->requestId = $requestId; 
		} 
		
		public function setDescription($description) {
			 $this->description = $description; 
		} 
		
		public function setQuantity($quantity) {
			 $this->quantity = $quantity; 
		} 
		
		public function JSONToObject($requestItemJSON) {
			$this->setRequestItemId($requestItemJSON->requestItemId);
			$this->setRequestId($requestItemJSON->requestId);
			$this->setDescription($requestItemJSON->description);
			$this->setQuantity($requestItemJSON->quantity);
		}
		
	}

?>